package com.sudo.boot.mapper.sys.mapper;

import com.mybatisflex.core.BaseMapper;
import com.sudo.boot.mapper.sys.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统角色  映射层。
 *
 * @author admins
 * @since 2023-10-13
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRole> selectRoleListByUserId(@Param("userId") Long userId);
}
